<template>
  <div id="app">
    <router-view></router-view>
    <van-tabbar route  active-color="#1989fa" inactive-color="#000000">
    <van-tabbar-item replace to="/home" icon="wap-home-o">首页</van-tabbar-item>
    <van-tabbar-item replace to="/check" icon="apps-o">分类</van-tabbar-item>
    <van-tabbar-item replace to="/eatwhat" icon="smile">吃什么</van-tabbar-item>
    <van-tabbar-item replace to="/shop" icon="shopping-cart-o">购物车</van-tabbar-item>
    <van-tabbar-item replace to="/mine" icon="contact">我的</van-tabbar-item>
  </van-tabbar>
  </div>
</template>

<style lang="scss">
.van-tabbar--fixed{ 
  position: fixed;
  bottom:1px;
  z-index: 999;
}
.tab{
    display: flex;
    justify-content: space-between;
    .lis{
        font-size: .3rem;
        width:100rem;
        height:1rem;
        background: pink;
        display: inline-block;
      }
}
.van-tabbar{
  z-index: 999;
}
@media screen and (min-width:750px){
  html{
    font-size:100px;
  }
}
</style>
